import 'package:ccshop/ui/widget/mine/MineBottomListView.dart';
import 'package:ccshop/ui/widget/mine/MinePickAddress.dart';
import 'package:ccshop/ui/widget/mine/MineTopView.dart';
import 'package:flutter/material.dart';

class MinePage extends StatefulWidget {
  @override
  _MinePageState createState() => _MinePageState();
}

class _MinePageState extends State<MinePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("个人中心"), centerTitle: true, elevation: 0),
      body: Scrollbar(
        child: SingleChildScrollView(
          child: Container(
            color: Color(0xFFEEEEEE),
            child: Column(
              children: [
                MineTopView(),

                Padding(padding: EdgeInsets.only(top: 20),),

                MinePickAddress(),

                Container(
                  margin: EdgeInsets.only(left: 10, right: 10),
                  decoration: BoxDecoration(
                    color: Colors.white,
                    borderRadius: BorderRadius.circular(10),
                  ),
                  child: MineBottomListView(),
                ),

                Padding(padding: EdgeInsets.only(top: 20),),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
